<!DOCTYPE html>
<html>
This test passes if it does not crash and 'PASS' is printed.<br/>
<img id="crash" src="resources/draw-image-crash.svg"></img>
<script>
if (window.testRunner)
  testRunner.waitUntilDone();

window.onload = function() {
  if (location.hash == '#done') {
    document.write('PASS');
    if (window.testRunner) {
      testRunner.dumpAsText();
      testRunner.notifyDone();
    }
  } else {
    location.hash = 'done';
    window.location.reload();
  }
}
</script>
</html>

